
/**
 * JiuWu 95JW.CN
 */
    
function u(t){const e=t.getFullYear(),n=String(t.getMonth()+1).padStart(2,"0"),a=String(t.getDate()).padStart(2,"0"),o=String(t.getHours()).padStart(2,"0"),s=String(t.getMinutes()).padStart(2,"0"),c=String(t.getSeconds()).padStart(2,"0");return"".concat(e,"-").concat(n,"-").concat(a," ").concat(o,":").concat(s,":").concat(c)}function i(t=new Date){const e=new Date(t);return e.setHours(0,0,0,0),e}function r(t,e=new Date){const n=i(e);return n.setDate(n.getDate()+t),u(n)}function g(t){switch(t){case"today":return r(0);case"tomorrow":return r(1);case"7days":return r(7);case"30days":return r(30);case"clear":return}}export{g as h};
